import React from 'react'

function Children({count,TestFun}) {
    console.log("children");
    return (
        <div>
            <h3>children</h3>
            <p>{count}</p>
            <p>{TestFun()}</p>
        </div>
    )
}

//为了缓存我们的Children
export default React.memo(Children)